<template>
  <div class="singer-detail">
    <music-list
      :songs="songs"
      :title="title"
      :pic="pic"
      :loading="loading"
    ></music-list>
  </div>
</template>

<script>
import { SINGER_KEY } from '@/assets/js/constant';
import { getSingerDetail } from '@/service/singer';
import createDetailComponent from '@/assets/js/create-detail-component';

export default createDetailComponent(
  'singer-detail',
  SINGER_KEY,
  getSingerDetail
);
</script>

<style lang="scss" scoped>
.singer-detail {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #222;
}
</style>
